package com.controller.vo;

/**
 * ClassName: ResultVo
 * Description:  统一响应视图对象
 *
 * @author L_Z_R
 * @create 2025/05/13 19:13
 * @version 1.0
 */
public class ResultVO<T> {
    private Integer code; //响应码
    private String message; //响应信息
    private T data; //响应数据

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public T getData() {
        return data;
    }

}
